package com.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 专区
 * </p>
 *
 * @author lzl
 * @since 2022-09-02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("qd_zone")
@ApiModel(value = "Zone对象", description = "专区")
public class Zone implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("创建时间")
    private LocalDateTime gmtCreate;

    @ApiModelProperty("修改时间")
    private LocalDateTime gmtModified;

    @ApiModelProperty("逻辑删除(0:正常;1:禁用)")
    @TableLogic
    private Integer isDeleted;

    @ApiModelProperty("状态")
    private Integer isDisable;

    @ApiModelProperty("名称")
    private String zoneName;

    @ApiModelProperty("描述")
    private String zoneDesc;
    @TableField(exist = false)
    private List<Map> zoneGoodsList;


}
